Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove torch_dtype for AutoModel #76

Merged
merged 1 commit into from
May 26, 2024
Merged

remove torch_dtype for AutoModel #76

merged 1 commit into from
May 26, 2024

Conversation

SeanLee97
Copy link
Owner

When loading some BERT-based models with AutoModel, NaN values are produced if torch_dtype is specified to 'auto'. Remove torch_dtype here to fix this bug.

@SeanLee97 SeanLee97 merged commit a582c12 into main May 26, 2024
9 checks passed
@SeanLee97 SeanLee97 deleted the feature/202406 branch September 13, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant